#include<iostream>
// #define Max 1024
const int Max = 1024;
void func(int a)
{
    std::cout << "func int " << std::endl;
}
void func(short a)
{
    std::cout << "func short " << std::endl;
}

int main()
{
    short a;
    func(Max);
    return 0;
}